//$$---- Form CPP ----
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "About.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TAboutForm *AboutForm;
//---------------------------------------------------------------------------
__fastcall TAboutForm::TAboutForm(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TAboutForm::OKButtonClick(TObject *Sender)
{
	Close(); 	
}
//---------------------------------------------------------------------------
void __fastcall TAboutForm::FormActivate(TObject *Sender)
{
        int MainFormMaxWidth = GetSystemMetrics(SM_CXSCREEN);
        int MainFormMaxHeight = GetSystemMetrics(SM_CYSCREEN);
        AboutForm->Left = (MainFormMaxWidth - AboutForm->Width) / 2;
        AboutForm->Top = (MainFormMaxHeight - AboutForm->Height) / 2;
		Label1->Caption = AboutForm->Caption + " Version 2.1";
}
//---------------------------------------------------------------------------

